import java.util.Random;
public class Deom05 {
	public static void main(String[] args) {
		int []a=new int [7];
		sjs(a);
	}
	public static int[] sjs(int []a1) {
		Random rand=new Random();
		for(int i=0; i<7;i++) {
			a1[i]=rand.nextInt(10);
		}
		for (int i = 0; i < a1.length; i++) {
			if (i==4) {
				System.out.print(" "+" ");
				System.out.print(a1[i]);
				
			}else {
				System.out.print(a1[i]);
			}
		}
	
		
		return a1;
		}
	}


